﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;

namespace CRM.BLL
{
    public class PartsModelsB
    {
        #region PartsModels
        /// <summary>
        /// 获取PartsModels信息
        /// </summary>
        public DataTable GetPartsModels(ref CRM.MODEL.GetPartsModels stu)
        {
            CRM.DAL.PartsModelsD obj = new CRM.DAL.PartsModelsD();
            DataTable dt = obj.ExecuteGetPartsModels(ref stu);
            obj.Dispose();
            return dt;
        }

        /// <summary>
        /// 编辑PartsModels信息
        /// </summary>
        public int EditPartsModels(ref CRM.MODEL.EditPartsModels stu)
        {
            CRM.DAL.PartsModelsD obj = new CRM.DAL.PartsModelsD();
            int effectRow = obj.ExecuteEditPartsModels(ref stu);
            obj.Dispose();
            return effectRow;
        }
        #endregion
    }
}
